package lion.test;

import java.util.Map;
import java.util.TreeMap;

import lion.framework.core.web.path.PathNode;

/**
 * @author lion
 * @email hl_0074@sina.com
 * @date 2015年11月19日
 */
public class Txc {

	public static void main(String[] args) {

		PathNode node = new PathNode("/p{page:int}");
		PathNode other = new PathNode("{catelog}");

		Map<String, PathNode> map = new TreeMap<>();
		map.put(node.getPattern(), node);
		map.put(other.getPattern(), other);

		for (String key : map.keySet()) {
			System.out.println(key);
		}
	}
}
